//
//  HBLoginManager.h
//  CreditManger
//
//  Created by chaiyanan on 15/11/5.
//  Copyright © 2015年 jinxin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HBLoginUserInfo.h"

@interface HBLoginManager : NSObject

+ (HBLoginManager *)sharedHBLoginManager;

@property (nonatomic) BOOL hasLogined;//登陆指的是实名认证完成+已经绑定理财师
@property (nonatomic, strong) HBLoginUserInfo *currentUserInfo;


+ (void) cacheCurrentUserToUserDefault:(HBLoginUserInfo *)info;
+ (HBLoginUserInfo *) getCurrentUserFromUserdefault;
+ (void) deleteCacheCurrentUserFromUserDefault;
+ (UIViewController *)getRegisterStepViewControllerOrLoginCtrl;
+ (void)didLoginOut;

@end
